home *** CD-ROM | disk | FTP | other *** search
Wrap
; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! [Setup] AppId=FlashPaper Printer AppName=FlashPaper Printer AppVerName=FlashPaper Printer AppVersion=2.0.634 AppPublisher=Macromedia AppCopyright=Copyright 2003, Macromedia AppPublisherURL=http://www.macromedia.com AppSupportURL=http://www.macromedia.com/products/flashpaper AppUpdatesURL=http://www.macromedia.com/products/flashpaper DefaultDirName={pf}\FlashPaper Printer DefaultGroupName=FlashPaper Printer DisableProgramGroupPage=yes SourceDir=..\ OutputDir=..\distrib\ LicenseFile=fullInstall\License.txt BackColor=$ff0000 BackColor2=$000000 BackColorDirection=toptobottom WindowShowCaption=true WindowStartMaximized=true WindowVisible=true WindowResizable=true OutputBaseFilename=FlashPaperPrinter ; >= 2000 MinVersion=0.00,5.0 AdminPrivilegesRequired=yes [Tasks] Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4 ;Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4 ; Flags: unchecked [Dirs] Name: "{app}\HTML Template" Name: "{app}\Interface" [Files] ;================== unique to this build type Source: "fullInstall\License.txt"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "Release\FlashPrinter2.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "Release\flashpaperprinterdrv.dll"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "Release\flashpaperprinterui.dll"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "Release\flashpaperprintermisc.dll"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "fullInstall\media.settings"; DestDir: "{app}"; CopyMode: alwaysoverwrite ;================== common from Release Source: "..\src\printer\printer\working.swf"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "..\src\printer\printer\searching.swf"; DestDir: "{app}"; CopyMode: alwaysoverwrite Source: "fullInstall\setacl.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall ;================== common from Release/Interface Source: "Release\Interface\barviewer-wind.swf"; DestDir: "{app}\Interface"; CopyMode: alwaysoverwrite Source: "Release\Interface\Bar Viewer - Wind Style.interface"; DestDir: "{app}\Interface"; CopyMode: alwaysoverwrite [Icons] Name: "{group}\FlashPaper Printer"; Filename: "{app}\FlashPrinter2.exe" ; WAS: {userdesktop} Name: "{commondesktop}\FlashPaper Printer"; Filename: "{app}\FlashPrinter2.exe"; MinVersion: 4,4; Tasks: desktopicon ;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\FlashPaper Printer"; Filename: "{app}\FlashPrinter2.exe"; MinVersion: 4,4; Tasks: quicklaunchicon [Registry] Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "Type"; ValueType: string; ValueData: "Registered"; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "Build"; ValueType: string; ValueData: "2.0.634"; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "AppPath"; ValueType: string; ValueData: "{app}\FlashPrinter2.exe"; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "BasePath"; ValueType: string; ValueData: "{app}"; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Macromedia\FlashPaper Printer; ValueName: "MSInterfaceName"; ValueType: string; ValueData: "Bar Viewer - Wind Style"; Flags: uninsdeletekey [Run] ; mdinstall Filename: "{app}\flashpaperprintermisc.dll"; StatusMsg: "Configuring FlashPaper Printer. This might take a few seconds..."; Parameters: "-ui"; Flags: runminimized; WorkingDir: "{app}" ; Grant FlashPort Filename: "{tmp}\setacl.exe"; Parameters: """{sys}\FlashPort2"" /file /grant S-1-1-0 /full /sid"; Flags: runminimized; WorkingDir: "{tmp}" ; Grant Everyone "Modify" permission on the {app}\data directory Filename: "{tmp}\setacl.exe"; Parameters: """{app}\Interface"" /dir /grant S-1-1-0 /full /r:cont_obj /sid"; Flags: runminimized; WorkingDir: "{tmp}" Filename: "{tmp}\setacl.exe"; Parameters: """{app}\HTML Template"" /dir /grant S-1-1-0 /full /r:cont_obj /sid"; Flags: runminimized; WorkingDir: "{tmp}" ; Grant Everyone permission to set values in HKEY_LOCAL_MACHINE\SOFTWARE\My Company\My Program Filename: "{tmp}\setacl.exe"; Parameters: """MACHINE\SOFTWARE\Macromedia\FlashPaper Printer"" /registry /grant S-1-1-0 /full /sid"; Flags: runminimized; WorkingDir: "{tmp}" [UninstallRun] Filename: "{app}\flashpaperprintermisc.dll"; StatusMsg: "Uninstalling FlashPaper Printer. This might take a few seconds..."; Parameters: "-u"; Flags: runminimized; RunOnceId: "flashpaperprintermiscuninstall"; WorkingDir: "{app}"